<svg xmlns="http://www.w3.org/2000/svg">
  <defs>
    <linearGradient id="red">
      <stop offset="0.0" stop-color="#f00"/>
    </linearGradient>
  </defs>
  <rect width="100%" height="100%" fill="url(#red)">
    <set attributeName="fill" to="lime"/>
  </rect>
</svg>
